<!DOCTYPE html>
<style>
#div1 {
    position: absolute;
    left: 400px;
    top: 300px;
    width: 200px;
    height: 100px;
    transform: rotate(90deg) translate(-21px, -67px);
    transform-origin: 0px 0px;
}
</style>
<div id="div1">div1</div>
